package com.diamond.smart.data.service;

public interface MqttClientService {

    void connect(String url, String clientID, String username, String password, int timeout, int keepalive);

    void publish(int qos, boolean retained, String topic, String pushMessage);

    void publish(String topic, String pushMessage);

    void subscribe(String topic, int qos);

    void subscribe(String topic);

}
